package com.company.behavioral.mediator_pattern.concrete_colleague;

import com.company.behavioral.mediator_pattern.colleague.Component;

/**
 * 组合框
 * @ClassName ComboBox
 * @Author tiezheng.han
 * @Date 2020/9/4 17:11
 **/
public class ComboBox extends Component {
    @Override
    public void update() {
        System.out.println("组合框增加一项：张无忌。");
    }

    public void select(){
        System.out.println("组合框选中项：小龙女。");
    }
}
